package org.sdv.servlet;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class AddCalculationServlet extends HttpServlet {

	private static final long serialVersionUID = 2489765727514198567L;

	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		PrintWriter out = resp.getWriter();
		out.println("<html><head>");
		out.println("<title>simple-servlet-initializer-on-startup</title>");
		out.println("</head><body>");
		out.println("This is a simple <h3>AddCalculationServlet</h3> with servlet container initializer on stratup mapping.");
		out.println("</body></html>");
	}
}
